package com.ruoyi.customerSample.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 样品流转记录详情单据对象 sample_circulation_detail
 * 
 * @author ruoyi
 * @date 2023-05-05
 */
@ApiModel("样品流转记录详情单据对象")
public class SampleCirculationDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 样品流转记录id */
    @Excel(name = "样品流转记录id")
    @ApiModelProperty(value = "样品流转记录id")
    private String circulationId;

    /** 样品编号 */
    @Excel(name = "样品编号")
    @ApiModelProperty(value = "样品编号")
    private String sampleNum;

    /** 检测项目 */
    @Excel(name = "检测项目")
    @ApiModelProperty(value = "检测项目")
    private String testItem;

    /** 样品回收 */
    @Excel(name = "样品回收", readConverterExp = "1=是,2=否")
    @ApiModelProperty(value = "样品回收")
    private String sampleBack;

    /** 项目编号 */
    @Excel(name = "项目编号")
    @ApiModelProperty(value = "项目编号")
    private String itemNum;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCirculationId(String circulationId) 
    {
        this.circulationId = circulationId;
    }

    public String getCirculationId() 
    {
        return circulationId;
    }
    public void setSampleNum(String sampleNum) 
    {
        this.sampleNum = sampleNum;
    }

    public String getSampleNum() 
    {
        return sampleNum;
    }
    public void setTestItem(String testItem) 
    {
        this.testItem = testItem;
    }

    public String getTestItem() 
    {
        return testItem;
    }
    public void setSampleBack(String sampleBack) 
    {
        this.sampleBack = sampleBack;
    }

    public String getSampleBack() 
    {
        return sampleBack;
    }


    public String getItemNum() {
        return itemNum;
    }

    public void setItemNum(String itemNum) {
        this.itemNum = itemNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("circulationId", getCirculationId())
            .append("sampleNum", getSampleNum())
            .append("testItem", getTestItem())
            .append("sampleBack", getSampleBack())
            .toString();
    }
}
